package com.tql.hualala.response;

import com.alibaba.fastjson.JSONObject;
import com.tql.hualala.bean.FoodBean;
import lombok.Getter;

import java.util.ArrayList;


public class DocOpenFoodDataResponse {
    @Getter
    private Result result;
    private ArrayList<FoodBean> foodList;

    private JSONObject pageHeader;
    private String EBookVersionNo;


    public void setResult(Result result) {
        this.result = result;
    }

    public JSONObject getPageHeader() {
        return pageHeader;
    }

    public void setPageHeader(JSONObject pageHeader) {
        this.pageHeader = pageHeader;
    }

    public String getEBookVersionNo() {
        return EBookVersionNo;
    }

    public void setEBookVersionNo(String EBookVersionNo) {
        this.EBookVersionNo = EBookVersionNo;
    }


    class Result{
        private String traceId;
        private String code;
        private String message;

        public String getTraceId() {
            return traceId;
        }

        public void setTraceId(String traceId) {
            this.traceId = traceId;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }
}
